var limsOutsourceSample = Gikam.getPageObject({

    getEditListColumns : function() {
        return [ {
            checkbox : true
        }, {index: true},{
            field : 'sampleCode',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.SAMPLECODE'
        }, {
            field : 'batchCode',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.BATCHCODE'
        }, {
            field : 'productName',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.PRODUCTNAME'
        }, {
            field : 'productCode',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.PRODUCTCODE'
        }, {
            field : 'testResult',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.TESTRESULT'
        } ];
    },

    getBaseInfoFormFields : function() {
        return [ {
            field : 'sampleCode',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.SAMPLECODE',
            validators : [ 'strLength[0,12]' ]
        }, {
            field : 'batchCode',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.BATCHCODE',
            validators : [ 'strLength[0,10]' ]
        }, {
            field : 'productName',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.PRODUCTNAME',
            validators : [ 'strLength[0,40]' ]
        }, {
            field : 'productCode',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.PRODUCTCODE',
            validators : [ 'strLength[0,10]' ]
        }, {
            field : 'testResult',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.TESTRESULT',
            validators : [ 'strLength[0,40]' ]
        } ];
    },

    getAuditListColumns : function() {
        return [ {
            checkbox : true
        }, {index: true},Gikam.status.getBpmnColumn(limsOutsourceSample.workflow.dbTable), {
            field : 'sampleCode',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.SAMPLECODE'
        }, {
            field : 'batchCode',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.BATCHCODE'
        }, {
            field : 'productName',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.PRODUCTNAME'
        }, {
            field : 'productCode',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.PRODUCTCODE'
        }, {
            field : 'testResult',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.TESTRESULT'
        } ];
    },

    getSearchListColumns : function() {
        return [ {
            checkbox : true
        }, {index: true},Gikam.status.getBpmnColumn(limsOutsourceSample.workflow.dbTable), {
            field : 'sampleCode',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.SAMPLECODE'
        }, {
            field : 'batchCode',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.BATCHCODE'
        }, {
            field : 'productName',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.PRODUCTNAME'
        }, {
            field : 'productCode',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.PRODUCTCODE'
        }, {
            field : 'testResult',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.TESTRESULT'
        } ];
    },

    getChooseListColumns : function() {
        return [ {index: true},{
            field : 'sampleCode',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.SAMPLECODE'
        }, {
            field : 'batchCode',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.BATCHCODE'
        }, {
            field : 'productName',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.PRODUCTNAME'
        }, {
            field : 'productCode',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.PRODUCTCODE'
        }, {
            field : 'testResult',
            title : 'T_LIMS_OUTSOURCE_SAMPLE.TESTRESULT'
        } ];
    },

    baseUrl : IFM_CONTEXT + '/secure/basemodule/business/outsource-samples'
});
